package com.egoo.ticket.server.service.impl;

import com.egoo.ticket.server.dao.FilterSecondDao;
import com.egoo.ticket.server.pojo.entity.FilterSecond;
import com.egoo.ticket.server.service.FilterSecondService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Administrator
 */
@Service
@Slf4j
@Transactional(rollbackFor = Exception.class)
public class FilterSecondServiceImpl implements FilterSecondService {


	@Autowired
	private FilterSecondDao filterSecondDao;

	/**
	 * 根据Id获取筛选条件的第二列
	 * @param id
	 * @return
	 */
	@Override
	public FilterSecond selectById(Integer id) {
		return filterSecondDao.selectById(id);
	}
}
